package com.yfbao.horizon.schedule.tk.utils;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class TestDemo {

    public static void main(String[] args) {

        BigDecimal value = new BigDecimal("195.10");
        BigDecimal ruleValue = new BigDecimal("1.1");
        BigDecimal bigDecimal = value.multiply(ruleValue)
                .setScale(2, RoundingMode.HALF_UP);
        System.out.println(bigDecimal);

    }
}
